/*
 * @Descripttion:
 * @Author: YuZhenJing
 * @Date: 2020-01-05 15:27:58
 * @LastEditors: YuZhenJing
 * @LastEditTime: 2020-01-08 10:17:37
 */
/**
 * Created by PanJiaChen on 16/11/18.
 */

/**
 * @param {string} path
 * @returns {Boolean}
 */
export function isExternal(path) {
  return /^(https?:|mailto:|tel:)/.test(path)
}
